<script type="text/javascript">
window.addEvent("domready", function() {
	SqueezeBox.initialize({});
	$$("a.modal").each(function(el) {
		el.addEvent("click", function(e) {
			new Event(e).stop();
			SqueezeBox.fromElement(el);
		});
	});
});
var K2SitePath = '/showcase/feb12/';
var paneltype = 'opacity';
jQuery(document).ready(function(){		jQuery('.moduletable-superfish ul,#nav ul')
			.supersubs({ 
       		minWidth:    '14',   // minimum width of sub-menus in em units 
    			maxWidth:    '17',   // maximum width of sub-menus in em units 
				disableHI:   true,  // set to true to disable hoverIntent detection
				extraWidth:  1     // 
			})
			.superfish({
				animation : {height:"show"},
				speed:       'normal',
				delay : 800 
			});	

		});

  </script>
<div id="nav" class="grid_eight Droid+Sans left">
    <div id="menuwrap" class="hide">		
        <div class="moduletable">
            <div class="jbmoduleBody">
                <ul class="menu sf-js-enabled sf-shadow">
                    <?php
					if(!isset($_GET['mod']))
					{
                    	echo "<li id='current' class='active'>";
					}
					else
					{
						echo '<li>';
					}
					?>
                        <a href="index.php" class="mainlevel">
                        <span>Home</span></a></li>
                    <?php
					if($_GET['mod'] == "product")
					{
                    	echo "<li id='current' class='active'>";
					}
					else
					{
						echo '<li>';
					}
					?>
                        <a href="index.php?mod=product" class="mainlevel">
                        <span>Category</span></a>
                        <ul>
                        	<?php 
								$query_cat = "SELECT * FROM tbl_category";
								$result = mysql_query("$query_cat");
								if(mysql_num_rows($result) > 0)
								{
									while($rows = mysql_fetch_assoc($result))
									{
										extract($rows);
							?>
                            <li><a href="index.php?mod=views&catid=<?php echo $id; ?>" class="mainlevel"><span><?php echo $name; ?></span></a></li>
                            <?php
									}
								}
							?>
                        </ul>
                    </li>                      
                    <?php
					if($_GET['mod'] == "news")
					{
                    	echo "<li id='current' class='active'>";
					}
					else
					{
						echo '<li>';
					}
					?>
                    <a href="index.php?mod=news" class="mainlevel">
                    <span>News</span></a></li>
                    <?php
                    if($_GET['mod'] == "contact")
					{
                    	echo "<li id='current' class='active'>";
					}
					else
					{
						echo '<li>';
					}
					?>
                    <a href="index.php?mod=contact" class="mainlevel">
                    <span>Contact</span></a></li>
                     <?php
                    if($_GET['mod'] == "tos")
					{
                    	echo "<li id='current' class='active'>";
					}
					else
					{
						echo '<li>';
					}
					?>
                    <a href="index.php?mod=tos" class="mainlevel">
                    <span>This site!</span></a></li>
                   
              </ul>
          </div>
      </div>
  </div>
</div>